<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    function Obj1(){
        this.size=100;
    }
    var obj1=new Obj1();//js的对象工厂(构造函数)
</script>
</html>